﻿using System;
using System.Collections;

namespace SharpTrainer.DP.Builder.Generic
{
    public class Product 
    { 
        ArrayList parts = new ArrayList(); 

        public void Add(string part) 
        { 
            parts.Add(part); 
        } 
        
        public void Show() 
        { 
            Console.WriteLine("\nProduct Parts -------"); 
            foreach (string part in parts) 
                Console.WriteLine(part); 
        }
    }
}
